class TransactionMo {
  int? id;
  String? title;
  String? startTime;
  String? endTime;
  String? orderCode;
  String? orderType;
  String? payType;
  String? orderName;
  String? status;
  String? createTime;
  String? brandName;
  double? amount;
  double? invoiceAmount;
  String? payUserName;
  int? allowInvoice;
  String? invoiceHistoryId;
  int? invoiceStatus;
  int? businessId;
  String? remark;
  int? type;
  int? orderStatus;
  String? paymentTime;
  int? sourceType;

  TransactionMo({
      this.id, 
      this.title, 
      this.startTime, 
      this.endTime, 
      this.orderCode, 
      this.orderType, 
      this.payType, 
      this.orderName, 
      this.status, 
      this.createTime, 
      this.brandName, 
      this.amount, 
      this.invoiceAmount, 
      this.payUserName, 
      this.allowInvoice, 
      this.invoiceHistoryId, 
      this.invoiceStatus, 
      this.businessId, 
      this.remark, 
      this.type, 
      this.orderStatus, 
      this.paymentTime, 
      this.sourceType});

  TransactionMo.fromJson(dynamic json) {
    id = json['id'];
    title = json['title'];
    startTime = json['startTime'];
    endTime = json['endTime'];
    orderCode = json['orderCode'];
    orderType = json['orderType'];
    payType = json['payType'];
    orderName = json['orderName'];
    status = json['status'];
    createTime = json['createTime'];
    brandName = json['brandName'];
    amount = json['amount'];
    invoiceAmount = json['invoiceAmount'];
    payUserName = json['payUserName'];
    allowInvoice = json['allowInvoice'];
    invoiceHistoryId = json['invoiceHistoryId'];
    invoiceStatus = json['invoiceStatus'];
    businessId = json['businessId'];
    remark = json['remark'];
    type = json['type'];
    orderStatus = json['orderStatus'];
    paymentTime = json['paymentTime'];
    sourceType = json['sourceType'];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['id'] = id;
    map['title'] = title;
    map['startTime'] = startTime;
    map['endTime'] = endTime;
    map['orderCode'] = orderCode;
    map['orderType'] = orderType;
    map['payType'] = payType;
    map['orderName'] = orderName;
    map['status'] = status;
    map['createTime'] = createTime;
    map['brandName'] = brandName;
    map['amount'] = amount;
    map['invoiceAmount'] = invoiceAmount;
    map['payUserName'] = payUserName;
    map['allowInvoice'] = allowInvoice;
    map['invoiceHistoryId'] = invoiceHistoryId;
    map['invoiceStatus'] = invoiceStatus;
    map['businessId'] = businessId;
    map['remark'] = remark;
    map['type'] = type;
    map['orderStatus'] = orderStatus;
    map['paymentTime'] = paymentTime;
    map['sourceType'] = sourceType;
    return map;
  }

}